package com.syh.jn.scm.domain.supplier.repository.finance;

import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.jn.scm.domain.supplier.entity.finance.CostBill;

public interface CostBillRepository extends CostBillReadRepository, AggregateRepository<CostBill, Long> {
  /**
   * 上传单据图片
   * @param bill
   */
  public void upload(CostBill bill);

  /**
   * 根据服务商id删除费用单
   * @param businessEntityId
   */
  void deleteByBusinessEntityId(Long businessEntityId);
}
